var globalData = {
    http:'https://wx.honghengxinxi.com',
    http2:'https://ai.honghengxinxi.com:3003',
    http3:'https://ai.honghengxinxi.com:3003',
    http4:'https://map.honghengxinxi.com:4001'
}
// document.cookie='connect.sid=s%3AU_xS2zzu2l8aNLETirWlHp9H_RjyMts2.cs%2FMkVwuCcw0k1y06eNqWojIAKwooibC%2FKgW6MEC%2B4I'
var POSTajax=function (obj) {
    $.ajax({
        type: 'POST',
        url: obj.url,
        data: obj.data,
        dataType: 'json',
        xhrFields: {
            withCredentials: true
        },
        success: obj.success,
        error: obj.error
    })
}
var GETajax=function (obj) {
    $.ajax({
        type: 'GET',
        url: obj.url,
        dataType: 'json',
        success: obj.success,
        error: obj.error
    })
}
